package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 留言对象 t_message
 * 
 * @author kellen
 * @date 2024-04-21
 */
public class TMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String mobile;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wechat;

    /** 留言内容 */
    @Excel(name = "留言内容")
    private String message;

    /** 处理状态，0-待处理，1-已处理，2-不处理 */
    @Excel(name = "处理状态，0-待处理，1-已处理，2-不处理")
    private Integer handlingStatus;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setWechat(String wechat) 
    {
        this.wechat = wechat;
    }

    public String getWechat() 
    {
        return wechat;
    }
    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }
    public void setHandlingStatus(Integer handlingStatus) 
    {
        this.handlingStatus = handlingStatus;
    }

    public Integer getHandlingStatus() 
    {
        return handlingStatus;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("mobile", getMobile())
            .append("wechat", getWechat())
            .append("message", getMessage())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("handlingStatus", getHandlingStatus())
            .append("remarks", getRemarks())
            .toString();
    }
}
